package com.gongyu.dao;

import com.gongyu.po.User;
import org.springframework.data.jpa.repository.JpaRepository;

public interface UserRepository extends JpaRepository<User,Long> {
    /**
     *  登录校验
     * @param username
     * @param password
     * @return 登录校验
     */
    User findByUsernameAndPassword(String username,String password);
}
